<h5>个人信息</h5>
<ul>
  <li>
    <span class="s_info">性别:</span>
    <% if @user_info.sex == 0 %>男<%end%>
    <% if @user_info.sex == 1 %>女<%end%>
  </li>
  <%-unless @user_info.birthday.blank?-%>
    <li><span class="s_info">出生年月:</span><%=h@user_info.birthday.to_date%></li>
  <%-end-%>
  <%-unless @user_info.employment.blank?-%>
    <li><span class="s_info">职业:</span><%=h@user_info.employment%></li>
  <%-end-%>
  <%-unless @user_info.address.blank?-%>
    <li><span class="s_info">现居:</span><%=h@user_info.address%></li>
  <%-end-%>
  <%-unless @user_info.qq.blank?-%>
    <li><span class="s_info">QQ:</span><%=h@user_info.qq%></li>
  <%-end-%>
  <%-unless @user_info.msn.blank?-%>
    <li><span class="s_info">MSN:</span><%=h@user_info.msn%></li>
  <%-end-%>
</ul>
